#!/usr/bin/python

from notch import Notch
import math

notch = Notch(sample_period = 1.0/44100, central_frecuency = 50, bandwidth = 10)
print notch(0)
#0
f = 50
f_sampleo = 44100.0
entrada = [math.cos(2 * math.pi * f / f_sampleo * x) for x in range(5)]
for muestra in entrada:
  salida = notch(muestra)
  print salida

#1.24487621891
#0.367370677643
#1.36320054809
#1.11478486722
#0.665338419267
